package com.yeshine.opendata.dao;

import com.yeshine.opendata.core.IDao;
import com.yeshine.opendata.entity.DataSet;
import com.yeshine.opendata.entity.dto.StatisticsResult;

import java.util.List;

/**
 * Created by taohj on 2014/6/28.
 */
public interface IDataSetDao extends IDao<DataSet>{

    public  int insertDataSetOrg(DataSet dataSet);

    public  int deleteDataSetOrg(DataSet dataSet);


    void deleteData(DataSet dataSet);

    void deleteDataInSet(DataSet dataSet);


    List<StatisticsResult>  statisticsByOrg(DataSet dataSet);

    List<StatisticsResult>  statisticsByTags(DataSet dataSet);

    List<StatisticsResult>  statisticsByFormat(DataSet dataSet);
}
